<include file="Public:header" />
<link href="__PUBLIC__/Catalog/css/complaintList.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="main">
   <div class="title">
         <div class="title1">
             <a href="{:U('Membership/index')}" id="back"> < </a>意见反馈
         </div>
   </div>
   <if condition="$allword eq ''">
   		<div class="products">
		       <div class="products_list">
		       	暂时没有意见反馈  
		       </div>
		   </div>
   </if>
	<foreach name="allword" item="vo">		
		 	<div class="products">
		       <div class="products_list">
		          <p class="intro">{$vo.comment}</p>
		          <p style="margin-top:5px;"><span class="time">{$vo.report_date}</span></p>
		          <a href="{:U('Membership/reportDetail')}?reportId=<if condition="$vo['reply_report_id'] eq 0">{$vo.report_id}<else/>{$vo.reply_report_id}</if>" class="reply"  <if condition="$vo['uid'] eq 0">	<if condition="$vo['endreport'] neq 0 && $vo['endreport']['uid'] neq 0"> <else/>style="background:red;"</if>><if condition="$vo['endreport'] neq 0 && $vo['endreport']['uid'] neq 0">已回复<else/>待回复</if><else/> <if condition="$vo['endreport'] eq 0 || $vo['endreport']['uid'] neq 0"> <else/>style="background:red;"</if>><if condition="$vo['endreport'] eq 0 || $vo['endreport']['uid'] neq 0">已回复<else/>待回复</if></if></a>
		       </div>
		   </div>
	</foreach>
	<div class="products">
		<div class="products_list" style="padding-top:20px;">
			<a href="javascript:$('#leaveform').css('display','block');"   class="go" >发表意见反馈</a>
		</div>
	</div>
<div class="foot1" style="display:none;" id="leaveform">
    <div class="foot2">
        <span class="foot2i">给管理员留言：</span>
        <a class="foot2x" onclick="javascript:$('#leaveform').css('display','none');" ></a>
    </div>
    <div class="foot2Select">
    		<form action="{:U('Membership/report')}" method="post">
		   		<textarea name="comment"  rows="13.5" style="width:210px;  padding-left: 10px; padding-right: 10px; padding-top:5px; border: 1px solid #999; border-radius:5px;" placeholder="意见反馈内容" required></textarea>
		   		<input type="submit"  class="go" value="提交" />
		   	</form>
    </div>
</div>	
</div>
<script>
    $(function(){
        if('{$msg}'!='0'){
            alert('{$msg}');
        }
    });
    
</script>
<include file="Public:footer" />
